package com.hafu.model;

// 章节类
public class Chapter {
    private String chapterId;
    private String title;
    private String content;
    private int sequence;

    // 构造方法
    public Chapter(String chapterId, String title, String content, int sequence) {
        this.chapterId = chapterId;
        this.title = title;
        this.content = content;
        this.sequence = sequence;
    }

    // Getter 和 Setter 方法
    public String getChapterId() {
        return chapterId;
    }

    public void setChapterId(String chapterId) {
        this.chapterId = chapterId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getSequence() {
        return sequence;
    }

    public void setSequence(int sequence) {
        this.sequence = sequence;
    }
}